<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<title>武汉轻工大学</title>
</head>
<body>
</body>
<script type="text/javascript">
	var ua = navigator.userAgent.toLowerCase();
	var isAndroid = ua.indexOf('android') != -1;
	var isIos = (ua.indexOf('iphone') != -1) || (ua.indexOf('ipad') != -1);
	var isWeixin = ua.indexOf('micromessenger') != -1;

	var microMessageName = location.search.toString().replace(/.*micromessenger\=([^&]+).*/g, '$1' + '')
	console.debug('......microMessageName.....', microMessageName)
	console.debug('......反馈是.....', ua)
	console.debug('...是否安卓...', isAndroid, "...是否苹果手机....", isIos, ".....是否微信.....", isWeixin)
	if (isWeixin && microMessageName.length > 5) {
		location.href = 'mobile/index.html';
	} else if (isIos || isAndroid) { //移动端登录
		location.href = 'mobile/index.html';
	} else { //PC登录
		location.href = 'pc/index.html';
	}
</script>
</html>